package tzjz.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tzjz.example.entity.WuPing;
import tzjz.example.mapper.WuPingMapper;
import tzjz.example.service.IWuPingService;

import java.util.List;

/**
 * @author renshuting
 * @date 2025/1/17 下午 07:41
 */
@Service
public class IWuPingServiceImpl extends ServiceImpl<WuPingMapper, WuPing> implements IWuPingService {
    @Autowired
    private WuPingMapper wuPingMapper;
    @Override
    public List<WuPing> selectByName(String Name) {
        return wuPingMapper.selectByName(Name);
    }

    @Override
    public WuPing selectId(String id) {
        return wuPingMapper.selectId(id);
    }

    @Override
    public int insertList(List<WuPing> list) {
        return wuPingMapper.insertList(list);
    }
}
